package com.kinoshita.admin.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
 * 
 * </p>
 *
 * @author reagan
 * @since 2022-08-29
 */
@TableName("sys_admin")
public class SysAdmin implements Serializable {

    private static final long serialVersionUID = 1L;
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @TableField("`username`")
    private String username;

    @TableField("`password`")
    private String password;

    @TableField("`createDate`")
    private LocalDateTime createDate;

    @TableField("`modifiDate`")
    private LocalDateTime modifiDate;

    @TableField("`creator`")
    private String creator;

    @TableField("`modifier`")
    private String modifier;

    @TableField("`status`")
    private Integer status;

    @TableField("`isDelete`")
    private Integer isDelete;


    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public LocalDateTime getCreateDate() {
        return createDate;
    }

    public void setCreateDate(LocalDateTime createDate) {
        this.createDate = createDate;
    }

    public LocalDateTime getModifiDate() {
        return modifiDate;
    }

    public void setModifiDate(LocalDateTime modifiDate) {
        this.modifiDate = modifiDate;
    }

    public String getCreator() {
        return creator;
    }

    public void setCreator(String creator) {
        this.creator = creator;
    }

    public String getModifier() {
        return modifier;
    }

    public void setModifier(String modifier) {
        this.modifier = modifier;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public Integer getIsDelete() {
        return isDelete;
    }

    public void setIsDelete(Integer isDelete) {
        this.isDelete = isDelete;
    }

    @Override
    public String toString() {
        return "SysAdmin{" +
        "id=" + id +
        ", username=" + username +
        ", password=" + password +
        ", createDate=" + createDate +
        ", modifiDate=" + modifiDate +
        ", creator=" + creator +
        ", modifier=" + modifier +
        ", status=" + status +
        ", isDelete=" + isDelete +
        "}";
    }
}
